if (irrecv_{{&pin}}.decode()) {
  struct IRData *pIrData = &irrecv_{{&pin}}.decodedIRData;
  unsigned long ir_item = pIrData->decodedRawData;
  String irProtocol = IR_PROTOCOL_TYPE[pIrData->protocol];
  Serial.print("IR TYPE:" + irProtocol + "\\tVALUE:");
  Serial.println(ir_item, HEX);
  irrecv_{{&pin}}.resume();
  {{&branch}}
} else {
  {{&branch2}}
}